package cn.gene.timeyan.pojo.article.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 鐢ㄦ埛鍒嗕韩鏂囩珷鐨勮?褰
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_share")
@ApiModel("分享表的基础信息")
public class ShareDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "share_id", type = IdType.AUTO)
    @ApiModelProperty(value = "分享表id",name = "shareId",example = "01")
    private Long shareId;

    /**
     * 鍒嗕韩鑰匢D
     */
    @ApiModelProperty(value = "用户id",name = "userId",example = "01")
    private Long userId;

    /**
     * 甯栧瓙ID
     */
    @ApiModelProperty(value = "帖子id",name = "articleId",example = "02")
    private Long articleId;

    /**
     * 妯″潡ID
     */
    @ApiModelProperty(value = "帖子类型id",name = "moduleId",example = "07")
    private Long moduleId;



}
